import App from './App'
import store from './store'
import Vuex from "vuex";
import wsRequest from "./utils/websocket.js";
// 国际化
import i18n from "./lang/index.js";
// #ifndef VUE3
import Vue from 'vue'
import './uni.promisify.adaptor'
// 国际化
import i18n from "./lang/index.js";
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
  ...App
})
app.use(store)
app.$mount()

// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  app.use(i18n)
  return {
    app
  }
}
// #endif